package com.jfinal.plugin.avtivemq;

import javax.jms.MessageListener;

/**
 * @createTime: 2018/12/20
 * @author: HingLo
 * @description: 消费者监听信息
 */
public class ConsumerMsg {
    /***
     * 队列名称
     */
    private String name;
    /**
     * 队列类型
     */
    private MessageType type;
    /**
     * 消费者监听对象
     */
    private MessageListener messageListener;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public MessageListener getMessageListener() {
        return messageListener;
    }

    public void setMessageListener(MessageListener messageListener) {
        this.messageListener = messageListener;
    }

    public MessageType getType() {
        return type;
    }

    public void setType(MessageType type) {
        this.type = type;
    }
}
